import request from '@/request/request';

export const getRouters = () => {
    return request({
        url: '/mock/getRouters',
        method: 'GET'
    });
};

export const getUserInfo = () => {
    return request({
        url: '/mock/getUserInfo',
        method: 'GET',
    });
};

/**获取字段*/
export const getDicts = () => {
    return request({
        url: '/mock/getDict',
        method: 'GET',
    });
};

/**获取线*/
export const getLine= () => {
    return request({
        url: '/mock/getLine',
        method: 'GET',
    });
};